package com.shenghua.service;

import com.shenghua.dao.model.Mould;
import com.shenghua.dao.page.Page;
import com.shenghua.utils.beans.Dto;
import com.shenghua.utils.beans.MouldParams;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2018/12/29.
 */
public interface MouldService {
    Dto<Mould> addNewMould(Mould mould);
    Dto<Map<String,Object>> queryMouldByPage(Map<String, Object> params, Page page);
    Dto<Mould> deleteMould(Mould mould);
    Mould selectMouldById(int id);
    Dto<Mould> editMould(Mould mould);

    Dto<Map<String,Object>> countMould(Map<String, Object> params);

    Dto<Map<String,Object>> queryMouldSwiper();
}
